import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/search`,
}

// 清算管理弹框列表数据
export const managerSearch = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/managerSearch`,
}

// 发送申请弹框列表数据
export const applySearch = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/applySearch`,
}

// 发送查询申请
export function saveApply(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/save`,
        method: 'post',
        data
    })
}
// 调至队首接口
export function tofirst(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/tofirst`,
        method: 'post',
        data
    })
}
// 调至队尾接口
export function toend(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/SapsQueueManageEntry/toend`,
        method: 'post',
        data
    })
}